architecture simple of switch is
	quantity v across i through p to m;
	quantity reff : real;
	signal r_eff : real := roff;
begin
	process (d)
	begin
		-- the body of the behaviour goes here
	end;

	i = v / reff;
end;